<link rel="StyleSheet" type="text/css" href="{skindir}css/style.css">
<!-------------------------头部栏目效果脚本开始---------------------------------->

<script type="text/javascript">
$(function(){
	$(".nav li").click(function(){
		$(".nav li").eq($(this).index()).addClass("cur").siblings().removeClass("cur");
	})
})
</script>

<!-------------------------头部栏目效果脚本结束---------------------------------->
<style>
a.select {
	color: #F00;
	font-size: 12px;
}/*选中的样式*/
.left_td3 {
	color: black;
	height: 25px;
	border-bottom: solid 1px #b8b8b7;
	border-right: solid 1px #b8b8b7;
}
.le_td0 {
	border-bottom: solid 1px #b8b8b7;
}
.le_td3 {
	border-left: solid 1px #b8b8b7;
}
.le_td3 .co {
	color: #0000FF;
}
.le_td {
	border-bottom: solid 1px #b8b8b7;
	PADDING-RIGHT: 0px;
	DISPLAY: inline-block;
	BACKGROUND: url({skindir}img/left_54.gif) repeat-x 0px 0px;
	PADDING-BOTTOM: 0px;
	PADDING-TOP: 0px
}
.le {
	font-size: 13px;
}
.le_tt {
	BACKGROUND: url({skindir}img/logo.png) center center no-repeat;
	background-size: cover;
	PADDING-BOTTOM: 0px;
	PADDING-TOP: 0px;
}

.modal-content {
	background-color: #5e5e5e !important;
	border: solid 1px #5e5e5e !important;
	border-radius: 6px !important;
}

.popover-content {
	background-color: #6796B8 !important;
	height: 50px;
	width: 680px;
}

</style>
<script>
var disk={disk};
var t={time}*1000

var getMonthWeek = function (a, b, c) { 

var date = new Date(a, parseInt(b) - 1, c), w = date.getDay(), d = date.getDate(); 
return Math.ceil( 
(d + 6 - w) / 7 
); 
};
function RefDate()
{
	t+=1000;
	var d=new Date(t);
	var day=d.getDate();
	var mon=d.getMonth()+1;
	var w=new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
	$("#nowtime").html("<div>"+d2(mon)+"月"+d2(day)+"日</div><div>"+w[d.getDay()]+"</div><div>"+(d2(d.getHours())+":"+d2(d.getMinutes())+":"+d2(d.getSeconds()))+"</div>");
	window.setTimeout("RefDate()",1000);	
}
function d2(v)
{
	if(parseInt(v)<=9)
		return '0'+v;
	else
		return v;	
}

//隐藏不是当前页面的数据
function hideSub(id) {
    for(var i=0; i<=24; i++) {
        if(i == id){
            $('#tab'+i).show();
        }else{
            $('#tab'+i).hide();
        }
    }
}

$(document).ready(function(e) {
    hideSub(0);
	RefDate();
	//$(".nav a").bind("click",function(b){
	$(".taba").bind("click",function(b){
			var tag=$(this).attr("href");
			var id=parseInt(tag.replace("#tab",""));
			hideSub(id);
			if(id==0)
			{
				window.top.mainFrame.location.href=('op.php?op=member&fp=bet0');	
				window.top.leftFrame.location.href=('op.php?op=member&fp=account&disk='+ disk);	
			}
			else if(id>=12 && id<=15)
			{
				window.top.mainFrame.location.href=('op.php?op=member_3d&fp=bet&palygroup=r1&gametype='+id);
				window.top.leftFrame.location.href=('op.php?op=member_3d&fp=account&disk='+ disk+"&gametype="+id);
			}
			else if(id>=20 && id<=24)
			{
				window.top.mainFrame.location.href=('op.php?op=member_5h&fp=bet&palygroup=r1&gametype='+id);
				window.top.leftFrame.location.href=('op.php?op=member_3d&fp=account&disk='+ disk+"&gametype="+id);
			}
			else if(id>=25 && id<=26)
			{
				window.top.mainFrame.location.href=('op.php?op=member_sb&fp=bet&palygroup=r1&gametype='+id);
				window.top.leftFrame.location.href=('op.php?op=member_3d&fp=account&disk='+ disk+"&gametype="+id);
			}
			$(".top01 div[class=tab_content]").hide();
			$(tag).show();
		});	    
});
</script>
</head><body style="margin:0; ">


<link href="/tpl/static/bootstrap/css/bootstrap.css?ver=1221" rel="stylesheet" type="text/css">
<link href="/tpl/static/webetblue/css/total_game.css?version=02011" rel="stylesheet" type="text/css"/>
<script src="/tpl/static/js/jquery.3.1.1.min.js?ver=0227"></script>
<script src="/tpl/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/tpl/static/js/jquery-ui.js"></script>
<script src="/tpl/static/js/BrowserDetect.js"></script>
	<div id="headersb" class="img_Head1_01" border="0" cellpadding="0" cellspacing="0" style="min-width: 1253px; width: 100%;">
		<div class="img_Head1_01" style="display:inline-block;float: left"><img src="/tpl/static/webet/images/member_logo.png?ver=1213" style="width:220px; height: 70px; display:inline-block "/>
		</div>

		{tabs_menu_list}

		<!--
		<div style="width: 80px; float: left;">
			<a class="btn btn-danger btn-opreat" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="javascript:void(0);" >操作</a>
		</div>
		-->

		<div style="width: 80px; float: left;">
			<a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="/op.php?op=core&fp=logout" target="_top">登出</a>
		</div>

		{tab_container_list}
	</div>

<!--
<div id="modal">
	<div class="modal fade bs-example-modal-sm" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
		<div class="modal-dialog" >
			<div class="modal-content">
				{tab_container_list}
			</div>
		</div>
	</div>
</div>
-->

